package com.ruoyi.project.system.jilu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 卡密使用记录对象 sys_kami_jilu
 * 
 * @author ruoyi
 * @date 2023-02-28
 */
public class KamiJilu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private String useId;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beforeTime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date afterTime;

    /**  */
    @Excel(name = "")
    private String kamitype;

    /**  */
    @Excel(name = "")
    private String usekami;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUseId(String useId)
    {
        this.useId = useId;
    }

    public String getUseId()
    {
        return useId;
    }
    public void setBeforeTime(Date beforeTime)
    {
        this.beforeTime = beforeTime;
    }

    public Date getBeforeTime()
    {
        return beforeTime;
    }
    public void setAfterTime(Date afterTime)
    {
        this.afterTime = afterTime;
    }

    public Date getAfterTime()
    {
        return afterTime;
    }
    public void setKamitype(String kamitype)
    {
        this.kamitype = kamitype;
    }

    public String getKamitype()
    {
        return kamitype;
    }
    public void setUsekami(String usekami)
    {
        this.usekami = usekami;
    }

    public String getUsekami()
    {
        return usekami;
    }
    public void setUseTime(Date useTime)
    {
        this.useTime = useTime;
    }

    public Date getUseTime()
    {
        return useTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("useId", getUseId())
            .append("beforeTime", getBeforeTime())
            .append("afterTime", getAfterTime())
            .append("kamitype", getKamitype())
            .append("usekami", getUsekami())
            .append("useTime", getUseTime())
            .toString();
    }
}
